package com.edu.exam.enums.grading;
import com.edu.exam.enums.core.BaseEnum;

public enum VersionType implements BaseEnum {
    MAJOR("MAJOR", "主版本"),
    MINOR("MINOR", "次版本"),
    PATCH("PATCH", "修订版本");

    private final String code;
    private final String description;

    VersionType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() { return code; }
    @Override
    public String getDescription() { return description; }
}
